<form id="import-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('班级分组')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select  id="c-cate_id" data-rule="required" class="form-control selectpicker" name="row[group_id]">
                
                {volist name="groupList" id="vo"}
                <option value="{$vo.id}">{$vo.name}</option>
                {/volist}
                
            </select>
        </div>
    </div>
    
    
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">选择文件:</label>
        <div class="col-xs-12 col-sm-8">
            <a href="javascript:;" class="btn btn-danger btn-import {:$auth->check('student/user/import')?'':'hide'}" title="{:__('Import')}" id="btn-import-file" data-url="ajax/upload" data-mimetype="csv,xls,xlsx" data-multiple="false"><i class="fa fa-upload"></i> {:__('Import')}</a>
            <input type="hidden" id="file_url">
            <label id="question_count" class="m-l-10"></label>
            <!--<input id="test" type="button" value="test">-->
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">模板文件:</label>
        <div class="col-xs-12 col-sm-8">
            <a href="/assets/addons/exam/template/student_template.xlsx" target="_blank" class="btn btn-success" title="点击下载模板文件"><i class="fa fa-download"></i> 点击下载模板文件</a>
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
<script>
    var valid_result = true;
</script>
